import IJobPageForm from '@/model/form/job/IJobPageForm'
import IPageVO from '@/model/vo/common/IPageVO'
import IResVO from '@/model/vo/common/IResVO'
import IJobVO from '@/model/vo/job/IJobVO'
import $http from '@/util/http'
import { AxiosResponse } from 'axios'

// 分页排序查询：岗位
export default function jobPageApi(form: IJobPageForm) {
  return $http.post<
    IResVO,
    AxiosResponse<IResVO<IPageVO<IJobVO>>>,
    IJobPageForm
  >('/job/page', form)
}
